package cn.dt.ymcc.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CourseOrderParamDto {
    @NotEmpty(message = "课程编号不为空")
    private List<Long> courseIds;
    @NotNull(message = "支付类型未选")
    private Integer payType;
    @NotEmpty(message = "tokoen令牌不能为空")
    private String token;
    private Integer type;
}
